/* 顶部栏新样式 */
.top-bar {
    position: fixed;
    top: 0;
    left: 260px; /* 侧边栏宽度 */
    right: 0;
    height: 90px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}

/* 搜索区域 */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 264px;
    height: 42px;
    border: 1px solid #cdcfd4;
    border-radius: 7px;
}

.search-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 15px 0 40px;
    font-size: 14px;
    font-family: "SourceHanSansCN-Regular";
    color: #4f5867;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    background-image: url(https://img.js.design/assets/element/js_L4SW7Z8C9Kb/image/88b6a26e9206d811fc9c6e08f4bd479bf094bc22.png);
    background-size: cover;
}

/* 用户信息区域 */
.user-info {
    display: flex;
    align-items: center;
}

.notification-icon {
    width: 30px;
    height: 30px;
    background-image: url(https://img.js.design/assets/element/js_L4SW7Z8C9Kb/image/c9fddb16d5f973112e1bfbb5e102c7a263874b4f.png);
    background-size: contain;
    margin-right: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.notification-icon:hover {
    opacity: 0.7;
}

.doctor-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.doctor-info:hover {
    background-color: #f5f5f5;
}

.doctor-avatar {
    width: 34px;
    height: 34px;
    background-image: url(https://img.js.design/assets/element/js_L4SW7Z8C9Kb/image/bcca7f081febb2b26a918215430ba19dee15dfcd.png);
    background-size: cover;
    margin-right: 10px;
}

.doctor-name {
    font-size: 16px;
    color: #45464b;
    margin-right: 10px;
}

.dropdown-icon {
    width: 20px;
    height: 11px;
    background-image: url(https://img.js.design/assets/element/js_L4SW7Z8C9Kb/image/3246897774360930b2e616370efd5775deb6f13a.png);
    background-size: contain;
}

/* 内容区域公共样式 */
.content-area {
    position: relative;
    margin-left: 260px; /* 侧边栏宽度 */
    min-height: 100vh;
    padding-top: 90px; /* 顶部栏高度 */
    background: #f6f6f6;
    max-width: calc(100% - 260px);
    box-sizing: border-box;
    overflow-x: hidden;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .top-bar {
        left: 0;
        padding: 0 20px;
    }
    
    .search-container {
        width: 200px;
    }
    
    .content-area {
        margin-left: 0;
        max-width: 100%;
    }
} 